import axios from '@/utils/plugins/request'
import {serviceName} from "@/const.config";
/**
 * 获取白名单
 */
export const getIgnoreList = () => {
    return axios({
        url: "/rest/ignore",
        method: "get",
    });
};
/**
 * 获取当前菜单信息
 * @returns {*}
 */
export const getCurrentMenu = (data)=>{
    return axios({
        url: serviceName+'/rest/system/menu/permission/permissionTree',
        method: "post",
        data
    });
}